<?php
/**
 * Created by PhpStorm.
 * User: deng
 * Date: 2015/2/26
 * Time: 9:47
 */

return [
    'OK' => [
        'code' => 200,
        'msg' => '请求成功'
    ],
    'CREATED' => [
        'code' => 201,
        'msg' => '创建成功'
    ],
    'NO_CONTENT' => [
        'code' => 204,
        'msg' => '请求成功，返回内容为空'
    ],
    'RESET_CONTENT' =>[
        'code' => 205,
        'msg' => '请求成功，重置文档'
    ],
    'BAD_REQUEST' => [
        'code' => 400,
        'msg' => '请求无法被解析'
    ],
    'UNAUTHORIZED' => [
        'code' => 401,
        'msg' => '资源的请求权限不足'
    ],
    'FORBIDDEN' => [
        'code' => 403,
        'msg' => '服务器拒绝执行'
    ],
    'NOT_FOUND' => [
        'code' => 404,
        'msg' => '资源请求不存在'
    ],
    'METHOD_NOT_ALLOWED' => [
        'code' => 405,
        'msg' => '资源请求方法错误'
    ],
    'INTERNAL_SERVER_ERROR' => [
        'code' => 500,
        'msg' => '服务器内部错误'
    ],

];